Add an example for text transforms
authorMatthias Clasen <mclasen@redhat.com>
Sun, 22 Aug 2021 16:17:32 +0000 (12:17 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Sun, 22 Aug 2021 19:57:50 +0000 (15:57 -0400)
Show some transformed text in the markup demo.

demos/gtk-demo/markup.txt

index 9e42a399a6910381e1b71d5bced5eab1e0f6f044..1b39ebab43ec5df543a8289352961816323e2aef 100644 (file)
@@ -21,3 +21,5 @@ Shortcuts: <tt>Monospace</tt> – <b>Bold</b> – <i>Italic</i> – <big>Big</bi
 
 <span line_height='1.33'>Line height: This is an example of widely spaced text. It was achieved by setting the line-height factor to 1.33. You can set the line-height factor to any value between 0 and 10.
 Note that the line height affects the spacing between paragraphs as well as between the wrapped lines inside a paragraph.</span>
+
+Transforms: <span text_transform='uppercase'>straße</span> <span text_transform='capitalize'>up, up and away</span>